package com.jkoss.wine.shop.service;

import com.jkoss.wine.shop.entity.Shop;
import com.jkoss.wine.shop.vo.ShopVo;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;

/**
 * 服务类
 * 
 * @Author zhouhuajin
 * @Version 1.0, 2018-09-28
 * @See
 * @Since com.jkoss.wine.shop.service
 * @Description: TODO
 */
public interface IShopService extends IService<Shop> {

	boolean insertShop(Shop entity) throws Exception;

	Page selectVoByPage(Page page, Wrapper wrapper);

	Page selectVoByshopListPage(Page page, Wrapper wrapper,String fwtm);

	Page selectVoByShopOrderListPage(Page page, Wrapper wrapper);

	boolean updateSelectShop(Shop shop);

	boolean updateShop(Shop shop) throws Exception;

	void updateShopState(String shopId, Integer state) throws Exception;

	boolean verifyRechargePassword(String shopId, String pwd);

	ShopVo selectVoById(String id);

}
